#include "Decorate.h"


Decorate::Decorate(void)
{
}


Decorate::~Decorate(void)
{
}

void Decorate::setComponent(Person* pComponent)
{
	//pcomponent = pComponent;
	pcomponent.reset(pComponent);
}

void Decorate::setComponent(std::shared_ptr<Person> pComponent)
{
	pcomponent = pComponent;
}
